import {createApp} from 'vue'
import '@/styles/index.scss'
import App from './App.vue'
import store from "@/store";
import 'virtual:svg-icons-register'
import router from "@/router";
import {setupElementPlus} from "@/plugins/element-plus";
import {setupVXETable} from "@/plugins/vxe-table";
import {setupGlobalCom} from "@/components";
import {setupVMdEditor} from "@/plugins/md-editor";

// createApp(App).mount('#app')
const app = createApp(App)
app.use(store)
app.use(router)
setupElementPlus(app)// 使用element-plus插件
setupVXETable(app)// 使用VXE-table插件
setupGlobalCom(app) // 注册全局公用组件
setupVMdEditor(app)
app.mount('#app')